.image-captcha-container {
  margin-top: 8px;
  width: 100%;
}

.captcha-question {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
  text-align: center;
}

.target-category {
  font-weight: 600;
  color: var(--primary-color);
  text-transform: capitalize;
}

.captcha-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 15px;
  transition: opacity 0.3s ease;
}

.captcha-options.refreshing {
  opacity: 0.5;
}

.captcha-options.has-selections {
  margin-bottom: 10px;
}

.captcha-option {
  width: 100%;
  aspect-ratio: 1;
  background: rgba(30, 41, 59, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.captcha-option:hover:not(:disabled) {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
}

.captcha-option:disabled {
  cursor: not-allowed;
}

.captcha-option.selected {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.2);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.3);
}

.captcha-option.selected::after {
  content: '✓';
  position: absolute;
  top: 2px;
  right: 2px;
  background: #6366f1;
  color: white;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.option-emoji {
  font-size: 28px;
  line-height: 1;
  user-select: none;
}

.captcha-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}

.captcha-verify-btn {
  padding: 6px 12px;
  background: #6366f1;
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.captcha-verify-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
  background: #4f46e5;
}

.captcha-verify-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.captcha-refresh-btn {
  padding: 6px 12px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.captcha-refresh-btn:hover:not(:disabled) {
  background: rgba(30, 41, 59, 0.8);
  transform: translateY(-1px);
}

.captcha-refresh-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.captcha-feedback {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  padding: 6px;
  border-radius: 6px;
  margin-bottom: 5px;
}

.captcha-feedback.success {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

.captcha-feedback.error {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.error-message {
  display: block;
  font-size: 12px;
  color: var(--error-color);
  margin-top: 4px;
  text-align: center;
}

/* Animations */
@keyframes pulse-success {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
  20%, 40%, 60%, 80% { transform: translateX(3px); }
}

/* Responsive Design */
@media (max-width: 480px) {
  .captcha-options {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  
  .option-emoji {
    font-size: 24px;
  }
  
  .captcha-question {
    font-size: 13px;
  }
  
  .captcha-refresh-btn {
    font-size: 11px;
    padding: 5px 10px;
  }
}